package com.leyou.gateway.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @Package com.leyou.gateway.config
 * @Author: HuaMao
 * @Description:
 * @Date: Created in 19:58 2019/6/25
 * @Version v1.0
 */
@Data
@ConfigurationProperties("ly.cors")
public class CORSProperties {
    private List<String> allowedOrigins;
    private Boolean allowedCredentials;
    private List<String> allowedMethods;
    private List<String> allowedHeaders;
    private Long maxAge;
    private String filterPath;
}
